package com.example.mybatis.service;

import com.example.mybatis.pojo.UserT;

import java.util.List;

public interface UserService {

    void addUser(UserT userT);

    List<UserT> getAllUsers();

    UserT getUserByUserName(String userName);

    void updateUser(UserT user);

    void deleteUser(String userName);
}
